<?php
use mobile\assets\AppAsset;
use common\service\UtilService;

$sysVersion = UtilService::getSystemParam();
$version = !empty($sysVersion['mobile_version']['value'])?$sysVersion['mobile_version']['value']:'';

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title><?= empty($this->params['title'])?"联盟机械":$this->params['title'];?></title>
    <link type="text/css" rel="stylesheet" href="/static/css/main.css?version=<?=$version?>">
    <script type="text/javascript" src="/static/js/rem.js?version=<?=$version?>"></script>
    <script type="text/javascript" src="/static/js/zepto.min.js?version=<?=$version?>"></script>
</head>
<body>
<?php $this->beginBody() ?>
<?= $content ?>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>